package com.lwl.blog.dao;

import com.lwl.blog.core.dao.IBaseDao;
import com.lwl.blog.entity.UserEntity;

import java.sql.SQLException;

/**
 * 帖子用户dao层接口
 */
public interface UserDao extends IBaseDao<UserEntity> {
    //根据姓名查用户
    UserEntity selByUname(String username) throws SQLException;
    //激活码
    UserEntity selectActCode(String code) throws SQLException;
    //更新头像
    void updateHeaderUrl(Integer id, String filePath) throws SQLException;
}
